<div class="row">
	<div class="col-lg-12">
		<!-- BEGIN BREADCRUMB -->
		<div class="breadcrumbs">
			<ul class="breadcrumb">
				<li>
					<a href="/admin">Trang chủ</a>
				</li>
				<li class="active">Hệ Thống</li>
			</ul>
		</div>
		<!-- END BREADCRUMB -->

		<div class="page-header">
			<h1>Hệ Thống</h1>
		</div>

		<?php echo $this->element('layout/layout-options')?>

	</div><!-- /.col-lg-12 -->
</div><!-- /.row -->
<!-- END PAGE HEADING ROW -->


<div class="row">
	<div class="col-lg-12">


	<?php echo $this->Session->flash(); ?>

		<div class="portlet portlet-default">
			<div class="portlet-heading">
				<div class="portlet-title">

				</div>
				<div class="portlet-widgets">
					<a data-toggle="collapse" data-parent="#accordion" href="#f-3" class=""><i class="fa fa-chevron-down"></i></a>
				</div>
				<div class="clearfix"></div>
			</div>
			<div id="f-3" class="panel-collapse collapse in">
				<div class="portlet-body">
					<?php echo $this->Form->create($als, array('class' => 'form-horizontal', 'type' => 'file'));?>
					<form class="form-horizontal" role="form" method="post">
						<div class="form-group">
							<label class="col-sm-2 control-label">Giá trị</label>
							<div class="col-sm-9">
								<?php echo $this->Form->hidden($als.'.id' )?>
								<?php echo $this->Form->input($als.'.value', array( 'label' => false, 'div' => false, 'class' => 'form-control', 'placeholder' => 'Nhập giá trị' ) )?>
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-2 control-label">Tên</label>
							<div class="col-sm-9">
								<?php echo $this->Form->input($als.'.name', array( 'label' => false, 'div' => false, 'class' => 'form-control', 'placeholder' => 'Nhập tên' ) )?>
							</div>
						</div>

						<div class="form-actions">
							<div class="form-group">
								<div class="col-sm-offset-2 col-sm-9">
									<button type="submit" class="btn btn-default">Lưu</button>
								</div>
							</div>
						</div>
					<?php echo $this->Form->end( ); ?>
				</div>
			</div>
		</div>

	</div><!-- /.col-lg-12  fa-times-->
</div><!-- /.row -->

<script>
$( document ).ready(function() {
	checkAlias();
});
</script>

<?php
	echo $this->Html->script('functions');
	echo $this->Html->script('tynimce');
?>
